﻿using SQLite;

namespace FileImportSystem2.Db.Entities;

/// <summary>
/// 中心中转费数据实体
/// </summary>
public class CenterTransferFeeData
{
   
    /// <summary>
    /// 日期
    /// </summary>
    public string 日期 { get; set; } = null!; // "yyyy-MM-dd"

    /// <summary>
    /// 单号
    /// </summary>
    [PrimaryKey]
    public string 单号 { get; set; } = string.Empty;

    public string 中心到件时间 { get; set; } = string.Empty;
    /// <summary>
    /// 结算对象
    /// </summary>
    public string 结算对象 { get; set; } = string.Empty;

    /// <summary>
    /// 分部
    /// </summary>
    public string 分部 { get; set; } = string.Empty;

    /// <summary>
    /// 客户名称
    /// </summary>
    public string 客户名称 { get; set; } = string.Empty;

    /// <summary>
    /// 中转费合计
    /// </summary>
    public double 中转费合计 { get; set; }

    /// <summary>
    /// 结算重量
    /// </summary>
    public double 结算重量 { get; set; }

    public string 目的省份 { get; set; } = string.Empty;
    public string 目的网点 { get; set; } = string.Empty;
    public string 运单使用网点 { get; set; } = string.Empty;
    public string 班次类型 { get; set; } = string.Empty;
    public string 直链类型 { get; set; } = string.Empty;

    
    /// <summary>
    /// 是否匹配成功
    /// </summary>
    public int IsMatched { get; set; }

    /// <summary>
    /// 导入时间
    /// </summary>
    public string ImportTime { get; set; } = string.Empty;

    public string 备注1 { get; set; } = string.Empty;
    public string 备注2 { get; set; } = string.Empty;
    public string 备注3 { get; set; } = string.Empty;
}